<html><head><title>Current date and time as QR code</title></head>
<body>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="jquery.qrcode.js"></script>
<script type="text/javascript" src="qrcode.js"></script>
<center><div id="q"><canvas id="test"></canvas></div><center>
<script>
var render="canvas";
if (!document.getElementById('test')||!document.getElementById('test').getContext)render="table";
function a(){
	size=Math.max(100,Math.min($(window).width(), $(window).height(),800)-20);
	document.getElementById('q').innerHTML='';
	$('#q').qrcode({text:""+new Date(),render:render,width:size,height:size});
	setTimeout("a()", 1000);
}
a()
</script>
</html>
